Auto merge of #5179 - matklad:uplink-pdb, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 14 Mar 2018 21:49:10 +0000 (21:49 +0000)
committerbors <bors@rust-lang.org>
Wed, 14 Mar 2018 21:49:10 +0000 (21:49 +0000)
commit83a3084cdd4de32f885d3d28132138370c913e9a
treea8ced96a7e209ce7d0f14ff45a22cc6463167c54
parent1891a62d5c836fc110fb4c46e674b1684d634788
parentf9306094047fa1f0f26cd261f08b3336deaa5314
Auto merge of #5179 - matklad:uplink-pdb, r=alexcrichton

Copy `.pdb` files to `target` directory

`.pdb` files are for windows debug info (unlike on linux, debug info is
in a separate file). Windows executable actually hard-code paths to
`.pdb` files, so debugging mvsc rust programs works even without this
patch. However, if you want to distribute the executable to other
machines, you'd better distribute both `foo.exe` and `foo.pdb`, because
absolute paths won't work on another machine. Having same-named .pdb
file alongside the binary would work though.

closes #4960